//
//  HistogramView.h
//  Task Views
//
//  Created by Chris Karr on 3/18/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "TaskManager.h"

@interface HistogramView : NSView 
{
	IBOutlet NSArrayController * tasks;
	IBOutlet NSWindow * settings;
	
	NSTextField * attributeLabel;
	NSTextField * countLabel;

	IBOutlet TaskManager * taskManager;

	NSMutableDictionary * bins;
	NSMutableArray * blocks;
	
	NSUInteger categoryCount;
	NSUInteger maxCategoryCount;
}

- (IBAction) settings:(id) sender;
- (IBAction) closeSettings:(id) sender;

- (void) setSelectedItem:(NSDictionary *) task;
- (void) editTask;

@end
